package org.loofer.uiframework.navigator;

import android.app.Activity;
import android.support.v4.app.Fragment;
import org.loofer.uiframework.navigator.backstack.AbstractFragment;
import java.util.Map;

public class NavigatorOptions {
    private Class<? extends Activity> mActivityClazz;
    private ActivityLauncher mActivityLauncher;
    private Map<String, String> mDefaultParams;
    private Class<? extends AbstractFragment> mFragmentClazz;
    private FragmentLauncher mFragmentLauncher;

    public void setOpenActivityClass(Class<? extends Activity> clazz) {
        this.mActivityClazz = clazz;
    }

    public void setOpenFragmentClass(Class<? extends AbstractFragment> clazz) {
        this.mFragmentClazz = clazz;
    }

    public Class<? extends Activity> getOpenActivityClass() {
        return this.mActivityClazz;
    }

    public Class<? extends Fragment> getOpenFragmentClass() {
        return this.mFragmentClazz;
    }

    public void setDefaultParams(Map<String, String> defaultParams) {
        this.mDefaultParams = defaultParams;
    }

    public Map<String, String> getDefaultParams() {
        return this.mDefaultParams;
    }

    public FragmentLauncher getFragmentLauncher() {
        return this.mFragmentLauncher;
    }

    public void setFragmentLauncher(FragmentLauncher fragmentLauncher) {
        this.mFragmentLauncher = fragmentLauncher;
    }

    public ActivityLauncher getActivityLauncher() {
        return this.mActivityLauncher;
    }

    public void setActivityLauncher(ActivityLauncher activityLauncher) {
        this.mActivityLauncher = activityLauncher;
    }
}
